package cn.crce.cloud9.simple;

/**
 * @author OnCloud9
 * @description
 * @project NRCE-TEST
 * @date 2022年09月10日 上午 08:58
 */
public class Case11 {
    public static void main(String[ ] args) {
        Point2 pt;
        //*********Found**********
        pt = new Point2(2, 3);
        System.out.println(pt);
    }
}



class Point2 {

    //*********Found**********
    private int x;
    private int y;

    //*********Found**********
    public Point2 (int a, int b) {
        x = a;
        y = b;
    }

    int getX( ) {
        return x;
    }

    int getY( ) {
        return y;
    }

    void setX(int a) {
        x = a;
    }

    void setY(int b) {
        y = b;
    }

    //*********Found**********
    public String toString ( ) {
        return "( " + x + "," + y + " ) ";
    }
}